package edu.hwadee.entity;

/**
 * Majorbusiness entity. @author MyEclipse Persistence Tools
 */

public class Majorbusiness implements java.io.Serializable {

	// Fields

	private Integer majorBusinessId;
	private Company company;
	private String name;

	// Constructors

	/** default constructor */
	public Majorbusiness() {
	}

	/** full constructor */
	public Majorbusiness(Company company, String name) {
		this.company = company;
		this.name = name;
	}

	// Property accessors

	public Integer getMajorBusinessId() {
		return this.majorBusinessId;
	}

	public void setMajorBusinessId(Integer majorBusinessId) {
		this.majorBusinessId = majorBusinessId;
	}

	public Company getCompany() {
		return this.company;
	}

	public void setCompany(Company company) {
		this.company = company;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

}